package com.maizhe.service;


import com.github.pagehelper.PageInfo;
import com.maizhe.entity.Role;

import java.util.List;


public interface RoleService {


    PageInfo<Role> findRoleList(Role role);

    int saveRole(Role role);

    Role findById(String id);

    int delete(String id);

    List<Role> getAll(Role role);

    int saveRightList(String ids,String roleId);
}
